Skip to content

release: 0.6.0 #44

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Feb 22, 2025

Automated Release PR

0.6.0 (2025-06-06)

Full Changelog: v0.5.0...v0.6.0

Features

Bug Fixes

  • api: improve type resolution when importing as a package (#66) (8aa007b)
  • client: fix TypeError with undefined File (#50) (1262a7b)
  • client: send X-Stainless-Timeout in seconds (#63) (dab2433)
  • client: send all configured auth headers (#68) (3ced793)
  • exports: ensure resource imports don't require /index (#57) (23166e6)
  • internal: add mts file + crypto shim types (#58) (716b94c)
  • internal: clean up undefined File test (#51) (e1e0fb5)
  • internal: fix file uploads in node 18 jest (702757c)
  • internal: return in castToError instead of throwing (#43) (2f70ad9)
  • mcp: remove unused tools.ts (#67) (65686bf)
  • tests: manually reset node:buffer File (#52) (2eded46)

Chores

  • ci: add timeout thresholds for CI jobs (d78258c)
  • ci: only use depot for staging repos (678516c)
  • client: make jsonl methods consistent with other streaming methods (#65) (62c4790)
  • client: minor internal fixes (e3c6fb8)
  • client: move misc public files to new core/ directory, deprecate old paths (#62) (e4008c3)
  • client: only accept standard types for file uploads (#47) (cd888bc)
  • docs: improve docs for withResponse/asResponse (#54) (25092c5)
  • exports: cleaner resource index imports (#60) (0049aac)
  • exports: stop using path fallbacks (#61) (a9df2c1)
  • internal: add aliases for Record and Array (#64) (38e00c9)
  • internal: codegen related update (e94c558)
  • internal: codegen related update (c60c38f)
  • internal: codegen related update (#55) (71a1bef)
  • internal: constrain synckit dev dependency (#49) (41da630)
  • internal: fix tests failing on node v18 (#48) (c1031bd)
  • internal: improve node 18 shims (726127a)
  • internal: minor client file refactoring (#59) (51d47fd)
  • internal: reduce CI branch coverage (e8cd029)
  • internal: refactor utils (eafa310)
  • internal: remove extra empty newlines (#56) (6431dc9)
  • internal: remove unnecessary todo (#45) (bd9e536)
  • internal: share typescript helpers (b52aa07)
  • internal: upload builds and expand CI branch coverage (dbd4446)
  • perf: faster base64 decoding (b3a1e96)
  • tests: improve enum examples (#69) (af4a60a)
  • types: improved go to definition on fetchOptions (#53) (54a7db8)

Documentation

  • readme: fix typo (fea4ecb)
  • update URLs from stainlessapi.com to stainless.com (#46) (6450e47)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 7bee467 to bd9e536 Compare February 22, 2025 09:11
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 4be2622 to 6450e47 Compare February 28, 2025 04:06
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 1b55d71 to cd888bc Compare March 4, 2025 10:33
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 93a2516 to c1031bd Compare March 4, 2025 10:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from e26dfef to 41da630 Compare March 4, 2025 10:42
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from d86af4e to 1262a7b Compare March 4, 2025 10:44
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 933ebd6 to e1e0fb5 Compare March 4, 2025 10:46
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 8f8829d to 2eded46 Compare March 4, 2025 10:47
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 34bcf04 to 54a7db8 Compare March 5, 2025 10:43
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from ff89007 to 25092c5 Compare March 5, 2025 11:28
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from c134aae to 71a1bef Compare March 11, 2025 06:44
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 76de98d to 6431dc9 Compare March 14, 2025 04:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from d219af0 to 23166e6 Compare March 14, 2025 04:50
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 851f4a8 to 716b94c Compare March 15, 2025 04:08
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 3b61958 to e94c558 Compare May 3, 2025 02:38
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 8874919 to b52aa07 Compare May 3, 2025 02:39
Copy link
Contributor Author

stainless-app bot commented May 6, 2025

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from c51bd52 to f50f5ad Compare May 7, 2025 09:05
@stainless-app stainless-app bot changed the title release: 0.5.1 release: 0.6.0 May 7, 2025
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 1cc75fd to f50f5ad Compare May 7, 2025 09:05
Copy link
Contributor Author

stainless-app bot commented May 7, 2025

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 74b54bf to f0edc96 Compare May 9, 2025 09:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 494b45e to 77b6f44 Compare May 9, 2025 10:20
Copy link
Contributor Author

stainless-app bot commented May 9, 2025

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from d3b5e40 to 078548f Compare June 3, 2025 13:00
Copy link
Contributor Author

stainless-app bot commented Jun 3, 2025

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next--components--sdk branch from 0d39aca to 3c6b1d3 Compare June 6, 2025 08:20
Copy link
Contributor Author

stainless-app bot commented Jun 6, 2025

🧪 Testing

To try out this version of the SDK, run:

npm install 'https://pkg.stainless.com/s/gitpod-typescript/3c6b1d33ef500d073008f79a05a58efe8aae6eb2'

Last updated: Fri, 06 Jun 2025 08:21:01 GMT

Copy link
Contributor Author

stainless-app bot commented Jun 6, 2025

Note: this release PR has been open for more than 60 days. Until this PR is merged, we will temporarily stop pushing codegen updates due to changes to Stainless' codegen.

@filiptronicek filiptronicek requested a review from Copilot June 10, 2025 12:07
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

A new minor release updating the SDK to version 0.6.0 with dependency bumps, CI/CD adjustments, and expanded API surface documentation.

  • Bumped package version, pinned updated dev dependencies, and deprecated old API promise import.
  • Upgraded workflows to Node 20, introduced artifact upload, and refined CI triggers.
  • Expanded API reference (api.md) with new endpoints and types, and refreshed docs/metadata files.

Reviewed Changes

Copilot reviewed 122 out of 122 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/api-promise.ts Deprecated old API promise implementation and re-export
scripts/utils/upload-artifact.sh New script to upload build artifacts via signed URL
.stats.yml Updated spec URL, endpoint count, and added hashes
.github/workflows/ci.yml Switched to Node 20, refined triggers, timeouts, and artifact upload steps
api.md Documented new methods/types (gateways, dotfiles, usage, etc.)
Comments suppressed due to low confidence (3)

api.md:184

  • The watch method return type was changed from JSONLDecoder<EventWatchResponse> to EventWatchResponse, which likely breaks the intended streaming API. Please verify and restore the streaming return type or update the implementation accordingly.
- <code title="post /gitpod.v1.EventService/WatchEvents">client.events.<a href="./src/resources/events.ts">watch</a>({ ...params }) -> EventWatchResponse</code>

.stats.yml:1

  • The YAML structure was changed from a list of key entries (- key: value) to a mapping (key: value), which may break existing parsers. Confirm tooling compatibility or revert to the original format.
configured_endpoints: 119

.github/workflows/ci.yml:15

  • The CI workflow no longer triggers on push events—only on pull requests. This change might skip CI runs for direct commits; ensure this aligns with project needs.
on:

#!/usr/bin/env bash
set -exuo pipefail

RESPONSE=$(curl -X POST "$URL" \
Copy link
Preview

Copilot AI Jun 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the --fail flag to the curl invocation (e.g., curl --fail -X POST) so that HTTP errors by default exit with a non-zero status instead of requiring manual grepping.

Suggested change
RESPONSE=$(curl -X POST "$URL" \
RESPONSE=$(curl --fail -X POST "$URL" \

Copilot uses AI. Check for mistakes.

@filiptronicek filiptronicek merged commit 0af11b6 into main Jun 10, 2025
4 checks passed
@filiptronicek filiptronicek deleted the release-please--branches--main--changes--next--components--sdk branch June 10, 2025 12:10
Copy link
Contributor Author

stainless-app bot commented Jun 10, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant